import { Swiper } from 'antd-mobile'
import img1 from '@/assets/img/1.png'
import img2 from '@/assets/img/2.png'
import img3 from '@/assets/img/3.png'
import style from './index.module.scss'

const Banner = () => {
  return (
    <Swiper autoplay={true} loop={true} autoplayInterval={2000} className={style.bannerImg}>
       <Swiper.Item><img src={img1}/></Swiper.Item>
       <Swiper.Item><img src={img2}/></Swiper.Item>
       <Swiper.Item><img src={img3}/></Swiper.Item>
    </Swiper>
  )
}

export default Banner